package com.sky.jsoup.web;

import jdk.nashorn.internal.objects.annotations.Getter;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "demo")
@PropertySource(value = "application.properties")
@Data
public class PropertiesUtil {

    private String name;

    private String age;
}
